const pannelConfig = {
  gjzl: {
    show: true,
    series: ['总数','已处理', '未处理'],
    alarmType: 2
  },
  sbzl: {
    show: true,
    series: ['正常','故障', '告警'],
    devType: 2
  },
  gzfxl: {
    show: true,
    series: ['故障','告警']
  },
  gjcll: {
    show: true,
    series: ['故障','告警']
  },
  gzzl: {
    show: true,
    series: ['总数','已处理', '未处理'],
    faultType: 2
  },
  gzpml: {
    show: true,
    series: ['故障数量'],
    faultType: 2
  },
  gjlpm: {
    show: true,
    series: ['告警数量'],
    alarmType: 2
  },
}

const chartOptions = [{
  id: 1,
  name: '告警总览',
  key: 'gjzl',
  series: [{
    label: '总数',
    key: 'count'
  }, {
    label: '已处理',
    key: 'analysis'
  }, {
    label: '未处理',
    key: 'notAnalysis'
  }]
}, {
  id: 2,
  name: '设备总览',
  key: 'sbzl',
  series: [{
    label: '正常',
    key: 'normal'
  }, {
    label: '故障',
    key: 'fault'
  }, {
    label: '告警',
    key: 'alarm'
  }]
}, {
  id: 3,
  name: '故障分析率',
  key: 'gzfxl',
  series: [{
    label: '故障',
    key: 'fault'
  }]
}, {
  id: 4,
  name: '告警处理率',
  key: 'gjcll',
  series: [{
    label: '告警',
    key: 'alarm'
  }]
}, {
  id: 5,
  name: '故障总览',
  key: 'gzzl',
  series: [{
    label: '总数',
    key: 'total'
  }, {
    label: '已处理',
    key: 'analysis'
  }, {
    label: '未处理',
    key: 'notAnalysis'
  }]
}, {
  id: 6,
  name: '故障率排名',
  key: 'gzpml',
  series: [{
    label: '故障数量',
    key: 'count'
  }]
}, {
  id: 7,
  name: '告警率排名',
  key: 'gjlpm',
  series: [{
    label: '告警数量',
    key: 'count'
  }]
}]

export {
  pannelConfig,
  chartOptions
}